﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace MMS
{
    public partial class UserControlCustomerList : UserControl
    {
        public UserControlCustomerList()
        {
            InitializeComponent();
        }

        private void UserControlCustomerList_Load(object sender, EventArgs e)
        {
            this.Dock = DockStyle.Fill;
        }

        private void toolStripButton_Click(object sender, EventArgs e)
        {
            if (sender.Equals(tsbAddNew))
            {
                using (FormCustomerInfo f = new FormCustomerInfo())
                {
                    f.ShowDialog();
                }
            }
            else if (sender.Equals(tsbEdit))
            {
                
            }
            else if (sender.Equals(tsbDelete))
            {
                
            }
            else if (sender.Equals(tsbView))
            {
                
            }
            else if (sender.Equals(tsbExit))
            {
                
            }
        }
    }
}
